fb0c5861532c399d2e9a3fc365cb72adaa8e7dbd,src/freenet/clients/http/FProxyToadlet.java,FProxyToadlet,handleMethodGET,#URI#HTTPRequest#ToadletContext#,400
Before Change
if((e.mode == FetchException.NOT_IN_ARCHIVE || e.mode == FetchException.NOT_ENOUGH_PATH_COMPONENTS) && (core.node.pluginManager.isPluginLoaded("plugins.KeyExplorer.KeyExplorer"))) {
option = optionList.addChild("li");
NodeL10n.getBase().addL10nSubstitution(option, "FProxyToadlet.openWithKeyExplorer", new String[] { "link", "/link" }, new String[] { "<a href=\"/plugins/plugins.KeyExplorer.KeyExplorer/?key=" + key.toString() + "\">", "</a>" });
}
if(!e.isFatal() && (ctx.isAllowedFullAccess() || !container.publicGatewayMode())) {
After Change
PluginInfoWrapper keyExplorer;
if((e.mode == FetchException.NOT_IN_ARCHIVE || e.mode == FetchException.NOT_ENOUGH_PATH_COMPONENTS) && ((keyExplorer = core.node.pluginManager.getPluginInfo("plugins.KeyExplorer.KeyExplorer")) != null)) {
option = optionList.addChild("li");
if (keyExplorer.getPluginLongVersion() > 4999)
NodeL10n.getBase().addL10nSubstitution(option, "FProxyToadlet.openWithKeyExplorer", new String[] { "link", "/link" }, new String[] { "<a href=\"/KeyExplorer/?automf=true&key=" + key.toString() + "\">", "</a>" });
else
NodeL10n.getBase().addL10nSubstitution(option, "FProxyToadlet.openWithKeyExplorer", new String[] { "link", "/link" }, new String[] { "<a href=\"/plugins/plugins.KeyExplorer.KeyExplorer/?key=" + key.toString() + "\">", "</a>" });
}
if(!e.isFatal() && (ctx.isAllowedFullAccess() || !container.publicGatewayMode())) {